/*
 * @Author: huangwei
 * @Date: 2021-06-07 15:39:36
 * @LastEditors: 黄威
 * @LastEditTime: 2022-02-15 16:26:14
 * @Description: 设置文件（用于各地方引用）
 */

import type { InstallationOptions } from 'types'

// 支持的参数
const settings: InstallationOptions = {
    service: {},
    log: true,
    isMobile: false,
}

export default settings

export function setSettings(option: any = {}) {
    Object.assign(settings, option)
}
